package com.cm.behavior.strategy.example2;

/**
 *
 * @author gcm
 * @date 2024/5/13 16:37
 */
public class Waimai  extends AbstractStrategy implements Strategy{

    private static final Waimai INSTANCE = new Waimai();
    private Waimai() {
        register();
    }
    public static Waimai getInstance() {
        return INSTANCE;
    }
    @Override
    public void issue(Object... params) {
        // do something
        System.out.println("奖励一顿kfc");
    }
}
